Optimal. Leaf size=27 \[ \frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a^3}-\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6181, 3393,
3382} \begin {gather*} \frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a^3}-\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3382
Rule 3393
Rule 6181
Rubi steps
\begin {align*} \int \frac {x^2}{\left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\sinh ^2(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a^3}\\ &=-\frac {\text {Subst}\left (\int \left (\frac {1}{2 x}-\frac {\cosh (2 x)}{2 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a^3}\\ &=-\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a^3}+\frac {\text {Subst}\left (\int \frac {\cosh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{2 a^3}\\ &=\frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a^3}-\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 27, normalized size = 1.00 \begin {gather*} \frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a^3}-\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 5.58, size = 22, normalized size = 0.81
method | result | size |
derivativedivides | \(\frac {-\frac {\ln \left (\arctanh \left (a x \right )\right )}{2}+\frac {\hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{2}}{a^{3}}\) | \(22\) |
default | \(\frac {-\frac {\ln \left (\arctanh \left (a x \right )\right )}{2}+\frac {\hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{2}}{a^{3}}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 58 vs.
\(2 (23) = 46\).
time = 0.48, size = 58, normalized size = 2.15 \begin {gather*} -\frac {2 \, \log \left (\log \left (-\frac {a x + 1}{a x - 1}\right )\right ) - \operatorname {log\_integral}\left (-\frac {a x + 1}{a x - 1}\right ) - \operatorname {log\_integral}\left (-\frac {a x - 1}{a x + 1}\right )}{4 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (a x - 1\right )^{2} \left (a x + 1\right )^{2} \operatorname {atanh}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {x^2}{\mathrm {atanh}\left (a\,x\right )\,{\left (a^2\,x^2-1\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________